import { request } from '../../request'

/**
 * 获取菜单内容
 */
export function getMpMenu() {
  return request.get<ApiModels.weixin.MpMenu>('/weixin/menus/get')
}

/**
 * 更新菜单
 */
export function updateMpMenu(data: ApiModels.weixin.MpMenu) {
  return request.post<any>('/weixin/menus/update', data)
}
